﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfApp2.Report
{
    // Define the Business Object "Product" with two public properties
    //    of simple datatypes.
    public class Orders
    {
        private string m_name;
        private int m_price;
        private int m_count;

        public Orders(string name, int price,int count)
        {
            m_name = name;
            m_price = price;
            m_count = count;
        }

        public string Name
        {
            get
            {
                return m_name;
            }
        }

        public int Price
        {
            get
            {
                return m_price;
            }
        }

        public int Count
        {
            get
            {
                return m_count;
            }
        }

    }

    public class Merchant
    {
       // private List<Product> m_products;

      // public Merchant()
      // {
      //     m_products = new List<Product>();
      //     m_products.Add(new Product("Pen", 25));
      //     m_products.Add(new Product("Pencil", 30));
      //     m_products.Add(new Product("Notebook", 15));
      // }
      //
      // public List<Product> GetProducts()
      // {
      //     return m_products;
      // }
    }
}
